50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


RSMET (version 1.3.8)

[<-.smet: '[<-' S3 Replacement method for smet-class object

Description

'[<-' S3 Replacement method for smet-class object

Usage

# S3 method for smet
[(x, rows = "all", fields = "all",
  date.field = "timestamp", offset = 0, multiplier = 1, nodata = -9999,
  ...) <- value

Arguments

x

a smet-class object

rows

rows of the x data which will be replaced.

fields

column number or fields of x which will be replaced.

date.field

field name of the Date and Time variable. Default is "timestamp". If it is not NA, it is always returned.

offset

scalar value of the unit multiplier for each new field name which is not previously present.

multiplier

scalar value of the unit multiplier for each new field name which is not previously present.

nodata

numeric value used to replce NA. It is used if no-data value is not specified in the header of x.

...

further argument for [ method

value

a object to be replaced

Value

The "replaced" smet-class object.

Examples

Run this code
# NOT RUN {
rm(list=ls())


 ### SMET Rifugio Vaccarone
# }

Run the code above in your browser using DataLab